﻿<UserControl x:Class="ForumsBrowser.AvailableForumsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     Width="300" VerticalAlignment="Stretch" Background="Black">
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="Black">
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="22" />
        </Grid.RowDefinitions>
        <ScrollViewer Grid.Row="0" Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
            <StackPanel Name="stackPanel1" Orientation="Vertical" Margin="0,0,0,0" />
        </ScrollViewer>
        <Border CornerRadius="5,5,5,5" Height="20" Margin="3,1,5,1" BorderThickness="1" Grid.Row="1" MouseLeftButtonDown="Border_MouseLeftButtonDown">
            <Border.Background>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,.7">
                    <LinearGradientBrush.GradientStops>
                        <GradientStop Color="Black" Offset="1" />
                        <GradientStop Color="Gray" Offset="-.6" />
                    </LinearGradientBrush.GradientStops>
                </LinearGradientBrush>
            </Border.Background>
            <Border.BorderBrush>
                <LinearGradientBrush StartPoint="0,1" EndPoint="0,0">
                    <LinearGradientBrush.GradientStops>
                        <GradientStop Color="Gray"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush.GradientStops>
                </LinearGradientBrush>
            </Border.BorderBrush>
            <TextBlock Text="Refresh Available Forums" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        </Border>
    </Grid>
</UserControl>
